package com.sinog.front.feign.biz;

import com.sinog.core.domain.JieKouLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
import java.util.Map;

/**
 * @desc 司法部管理员-系统管理-接口对接日志
 * @author ypc
 * @date 2022/10/19
 */
@FeignClient("sinog2c-biz")
public interface SeeJiekouLogService {

    /**
     * 司法部管理员-系统管理-接口对接日志-得到所有省份
     * @return List<Map<String,String>>
     */
    @RequestMapping("/azbj/seelog/getprovince")
    List<Map<String,String>> getAllProvince();

    /**
     * 查询所有省份的接口对接日志信息
     * @param params
     * @return String
     */
    @RequestMapping("/azbj/seelog/getAllLog")
    String selectAllLog(@RequestParam Map<String,Object> params);

    /**
     * 根据id查询所有省份的接口对接日志信息
     * @param id
     * @return JieKouLog 实体类
     */
    @RequestMapping("/azbj/seelog/getCodeById")
    JieKouLog selectCodeById(@RequestParam String id);

}